//
//  LALocationConvert.h
//  OutdoorAssistantApplication
//
//  Created by 周欢 on 2018/1/3.
//  Copyright © 2018年 Lolaage. All rights reserved.
//

#ifndef LALocationConvert_h
#define LALocationConvert_h

#include <stdio.h>
#include <stdbool.h>


#include "LAGGeometryTypes.h"


/*
 * wgs 转 Gcj02
 */
CLLocationCoordinate2D cl_wgsToGcj02(double wgsLat, double wgsLon, bool isGaoDeCoor);


/*
 * Gcj02 转 wgs
 */
CLLocationCoordinate2D cl_gcj02ToWgs84(double gcj02Lat, double gcj02Lon, bool isGaoDeCoor);

/*
 * wgs 转 Bd09
 */
CLLocationCoordinate2D cl_wgs84ToBd09(double wgsLat,double wgsLon);

/*
 * Gcj02 转 Bd09
 */
CLLocationCoordinate2D cl_gcj02ToBd09(double gcj02Lat, double gcj02Lon);


/*
 * Bd09 转 Gcj02
 */
CLLocationCoordinate2D cl_bd09ToGcj02(double bdLat, double bdLon);

/*
 * Bd09 转 wgs
 */
CLLocationCoordinate2D cl_bd09ToWgs84(double bdLat, double bdLon);




#endif /* LALocationConvert_h */






